﻿<?php
$_success_			= 200;	//成功
$_sys_error_ 		= 202;	//系统错误
$_body_empty_ 		= 1001;	//正文为空


function showError($code, $data){
	echo displayData($code, $data);
}

function displayData($code, $data){
	echo json_encode(array(
		'code'	=> $code,
		'data'	=> $data
	));
}